<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!DOCTYPE html>
<html>
<head>
    <title>导检单</title>
    <base href="<%=basePath %>"/>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
    <link rel="stylesheet" href="assets/css/bootstrap.css"/>
    <%--<link rel="stylesheet" href="assets/layui/css/layui.css">--%>
    <script src="assets/js/jquery.min.js"></script>
    <script src="assets/js/bootstrap.min.js"></script>
    <script src="assets/js/jquery.validator.min.js"></script>
    <script src="assets/layui/layui.all.js"></script>
    <script src="assets/js/jQuery.print.js"></script>

</head>
<body style="margin:0 auto;text-align:center;">
<%--< id='ganburenmianbaio' class='WordSection1' &lt;%&ndash;style='width:750px;margin:0 auto;text-align:center;vertical-align: middle;'&ndash;%&gt;>--%>
<div class="col-lg-10 col-lg-offset-1">
    <h1>导检单</h1>
    <p>体检人：${report.user.userName}
        时间：${report.reportTime}
    </p>
    <h3>体检项</h3>
    <table class="table">
        <tr>
            <th style="text-align: center">科室</th>
            <th style="text-align: center">科室地址</th>
            <th style="text-align: center">项目</th>
        </tr>
        <c:forEach items="${report.items}" var="items">
            <tr>
                <td>${items.desk.deskName}</td>
                <td>${items.desk.deskSite}</td>
                <td>${items.itemName}</td>
            </tr>
        </c:forEach>
    </table>
    <p>楼层平面图：</p>
<img src="HospitalFloorPlan.jpg" class="img-responsive center-block">
</div>
</body>
</html>